package cn.com.surker.enums.production.invoice;

import cn.com.surker.enums.ICodeDescEnum;

/**
 * 发货单的生产状态
 *
 * @author luotao
 * @date 2024/12/25
 */
public enum ControlProStatusEnum implements ICodeDescEnum {
	AUTOMATIC(0, "自动生产"),
	MOVEMENT(1, "手动生产"),
	SEMI_AUTOMATIC(2, "半自动生产"),
	INTERRUPT(3, "生产中断"),
	COMPLETED(4, "整车数据已完整"),
	OTHER(5, "其他"),
	;

	private final String description;

	private final Integer code;

	ControlProStatusEnum(Integer code, String description) {
		this.description = description;
		this.code = code;
	}

	@Override
	public String getDescription() {
		return description;
	}

	@Override
	public Integer getCode() {
		return code;
	}
}
